<?php
if( !isset($AppUI) ||
    !isset($_SESSION['club_img']) ||    
    ($_SESSION['club_img']&1<< 1)== 0
) {
	redirect(HOST_BACKEND);
}
// get image source type
$srcType    = $this->input->get('src',0);
$intId      = $this->input->get('id',0);  

$this->smarty->assign('back','index');
$this->smarty->assign('srcType',$srcType);
$this->smarty->assign('srcId',$intId);
$this->smarty->display('image/add.tpl');
